/*    */ package com.cr.business.service.impl;
/*    */ 
/*    */ import com.cr.business.domain.CrService;
/*    */ import com.cr.business.mapper.CrServiceMapper;
/*    */ import com.cr.business.service.ICrServiceService;
/*    */ import com.cr.common.core.text.Convert;
/*    */ import com.cr.common.utils.MyDateUtils;
/*    */ import java.util.List;
/*    */ import org.springframework.beans.factory.annotation.Autowired;
/*    */ import org.springframework.stereotype.Service;
/*    */ 
/*    */ @Service
/*    */ public class CrServiceServiceImpl implements ICrServiceService {
/*    */   @Autowired
/*    */   private CrServiceMapper crServiceMapper;
/*    */   
/*    */   public CrService selectCrServiceByServiceId(Long serviceId) {
/* 33 */     return this.crServiceMapper.selectCrServiceByServiceId(serviceId);
/*    */   }
/*    */   
/*    */   public List<CrService> selectCrServiceList(CrService crService) {
/* 45 */     return this.crServiceMapper.selectCrServiceList(crService);
/*    */   }
/*    */   
/*    */   public int insertCrService(CrService crService) {
/* 57 */     crService.setCreateTime(MyDateUtils.getNowDate());
/* 58 */     return this.crServiceMapper.insertCrService(crService);
/*    */   }
/*    */   
/*    */   public int updateCrService(CrService crService) {
/* 70 */     crService.setUpdateTime(MyDateUtils.getNowDate());
/* 71 */     return this.crServiceMapper.updateCrService(crService);
/*    */   }
/*    */   
/*    */   public int deleteCrServiceByServiceIds(String serviceIds) {
/* 83 */     return this.crServiceMapper.deleteCrServiceByServiceIds(Convert.toStrArray(serviceIds));
/*    */   }
/*    */   
/*    */   public int deleteCrServiceByServiceId(Long serviceId) {
/* 95 */     return this.crServiceMapper.deleteCrServiceByServiceId(serviceId);
/*    */   }
/*    */ }


/* Location:              D:\tmp\creditorRights-admin\BOOT-INF\lib\creditorRights-business-4.7.0.jar!\com\cr\business\service\impl\CrServiceServiceImpl.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */